package com.xebest.web.form;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;


/**
 * @author 杜春静
 */
public class XeVenStoreSaveCheckForm {
    /**
     * 仓库id
     */
    @NotNull(message = "仓库编码不能为空")
    @NotEmpty(message = "仓库编码不能为空")
    private String storeId;

    /**
     * 盘点的仓库名称
     */
    @NotNull(message = "仓库名称不能为空")
    @NotEmpty(message = "仓库名称不能为空")
    private String storeName;

    /**
     * 盘点状态：1：盘点中2：已完成 3：已废弃
     */
    @NotNull(message = "盘点状态不能为空")
    private Integer checkStockStatus;

    /**
     * 盘点历时
     */
    private String durationDate;

    /**
     * 完成时间
     */
    private Date finishDate;

    /**
     * 备注
     */
    private String checkRemark;

    /**
     * 是否删除： 1未删除 2已删除
     */
    private Integer delFlag;


    /**
     * 盘点单明细
     */
    private List<XeVenStoreCheckDetailForm> detailList;


    /**
     * @return the storeId
     */

    public String getStoreId() {

        return storeId;
    }


    /**
     * @param storeId the storeId to set
     */

    public void setStoreId(String storeId) {

        this.storeId = storeId;
    }


    /**
     * @return the storeName
     */

    public String getStoreName() {

        return storeName;
    }


    /**
     * @param storeName the storeName to set
     */

    public void setStoreName(String storeName) {

        this.storeName = storeName;
    }


    /**
     * @return the checkStockStatus
     */

    public Integer getCheckStockStatus() {

        return checkStockStatus;
    }


    /**
     * @param checkStockStatus the checkStockStatus to set
     */

    public void setCheckStockStatus(Integer checkStockStatus) {

        this.checkStockStatus = checkStockStatus;
    }


    /**
     * @return the durationDate
     */

    public String getDurationDate() {

        return durationDate;
    }


    /**
     * @param durationDate the durationDate to set
     */

    public void setDurationDate(String durationDate) {

        this.durationDate = durationDate;
    }


    /**
     * @return the finishDate
     */

    public Date getFinishDate() {

        return finishDate;
    }


    /**
     * @param finishDate the finishDate to set
     */

    public void setFinishDate(Date finishDate) {

        this.finishDate = finishDate;
    }


    /**
     * @return the checkRemark
     */

    public String getCheckRemark() {

        return checkRemark;
    }


    /**
     * @param checkRemark the checkRemark to set
     */

    public void setCheckRemark(String checkRemark) {

        this.checkRemark = checkRemark;
    }


    /**
     * @return the delFlag
     */

    public Integer getDelFlag() {

        return delFlag;
    }


    /**
     * @param delFlag the delFlag to set
     */

    public void setDelFlag(Integer delFlag) {

        this.delFlag = delFlag;
    }


    /**
     * @return the detailList
     */

    public List<XeVenStoreCheckDetailForm> getDetailList() {

        return detailList;
    }


    /**
     * @param detailList the detailList to set
     */

    public void setDetailList(List<XeVenStoreCheckDetailForm> detailList) {

        this.detailList = detailList;
    }


}
  
